翻訳と辞書
Words near each other
・ Type color
・ Type constructor
・ Type Control
・ Type conversion
・ Type D escort ship
・ Type D personality
・ Type D submarine
・ Type Description Language
・ Type design
・ Type Directors Club
・ Type enforcement
・ Type erasure
・ Type family
・ Type foundry
・ Type Four platform
Type generalization
・ Type genus
・ Type H/PJ38 130 mm naval gun
・ Type I and type II errors
・ Type I collagen
・ Type I cytokine receptor
・ Type I hair keratin
・ Type I hypersensitivity
・ Type I keratin
・ Type I Rifle
・ Type I site-specific deoxyribonuclease
・ Type I string theory
・ Type I topoisomerase
・ Type I tyrosinemia
・ Type Ia sensory fiber


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Type generalization : ウィキペディア英語版
Type generalization
Type generalization is a technique commonly used in refactoring. The idea is to draw on the benefits of object-orientation and make more-generalized types, thus enabling more code sharing, leading to better maintainability as there is less code to write. Too-general code can, however, become completely useless, leading to spaghetti code doing effectively nothing.
Type generalization refers to making more general or more abstract some subset of the traits of a specific type. A superclass has wider use than a specific subclass, and so is more 'general'.
An example of generalizing a type would be moving a method from a child to a parent class for common use by all the parent class' children, not just the original child.
Another example, in the Java programming language, would be access to an object via an interface which isn't tied into a specific implementation of that interface.
== References ==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Type generalization」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.